<?php if(!IS_AJAX){?>
<include file="Public:header" /><include file="Public:navgation" />
<!-- 信息提醒 -->

<!--<div class="alert alert-warning">
  <button class="close" data-dismiss="alert" type="button">×</button>
  通知：有新信息
  <div class="badge pull-right"> 2 </div>
</div>-->
<!-- 信息提醒结束 --> 
<style>.categorybtn{border-radius:0; margin:0; border:none;}
    .categorybtn.on{background:#fff; color:#47AEC8;}
</style>

<div class="container-fluid main-content"> 
  <div class="page-title chart-container"> </div>
  <div class="row">
    <div class="col-md-12">
      <div class="widget-container">
          <div class="heading hidden-xs"> 
              <i class="icon-bar-chart"></i> <span class="pagetitle">领取表格</span>
              <if condition="!isMobile()"> 
              	<a class="pull-right" href="{:U('Mission/mymission')}"><i class="icon-file"></i>我的文档</a> 
              </if>
          </div>  
          
            <div class="DataListItembg " style="margin-top:4px; padding:0;">
                
                <a class="btn btn-info categorybtn listajaxrequest on" href="javascript:void(0);" rel="{:U('Taskform/index')}">全部</a><volist name='candy' id='candy'><a class="btn btn-info categorybtn listajaxrequest" href="javascript:void(0);" rel="{:U('Taskform/index',array('id'=>$candy['id']))}">{$candy.name}</a></volist>
                
            </div>  
            <!-- 客户列表 -->
            <div class="DataList CustomerList">
            <?php }?>
              <!-- 数据主体 -->
              <volist name="list" id="vo">
                <div class="DataListItem DataListItembg item{$vo.id}" style="margin-top:4px; padding:0 5px;">
                  <div class="row">
                      <div class="col-sm-6 col-xs-12">
                        <div class="widget-content padded">
                          <h4 style="margin:0; font-size:16px; font-weight:bold; padding:5px 0;">{$vo.name} </h4>
                        </div>
                      </div>
                      <div class="col-sm-6 col-xs-12 hidden-xs" style="text-align:right;">
                        <div class="optionBtnBox">
                          <a class="button" href="#window" onClick="_openWindow('{:U('getform', array('id' => $vo['id']))}', 500, '{$vo.name}', '确认', null, '');"><i class="icon-file"></i> 领取</a>
                        </div>
                      </div>
                  </div>
                  <div class="BottomOptionBtn hidden">
                    <a class="button" href="#window" onClick="_openWindow('{:U('getform', array('id' => $vo['id']))}', 500, '{$vo.name}', '保存', null, '');"><i class="icon-file"></i> 领取</a>   
                  </div>
                 </div>
                <!-- 数据主体结束 --> 
              </volist>
            </div>
            </if> 
              <?php if(!IS_AJAX){?>
          <div class="loading hidden">正在加载</div>
          <div class="PagesBox"><?php echo $pages;?></div> 
          <!-- 客户列表结束 --> 
      </div>
    </div>
  </div>
</div>
<include file="Public:footer" />
<?php }?>
